home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / arcers / zsshl2fr.zip / ZEXE2ZIP.BA_ / ZEXE2ZIP.BAT
DOS Batch File  |  1995-01-05  |  972b  |  31 lines

  1. REM @echo off
  2. REM ZEXE2ZIP -------------------------------------
  3. REM Batch file to use ZIP2EXE with the ZS Shell
  4. REM %1 is the ZIP file name
  5. REM %2 is the destination directory
  6. REM 
  7. REM We use a temp directory named 897436
  8. REM make sure you don' t use such a directory
  9. REM to avoid a possible blanking...
  10. REM --------------------------------------------
  11. REM Goto the Zip Studio EXTERN directory
  12. REM We use it to keep some space for the
  13. REM command line. (Please check GO_ZSHL.BAT)
  14. REM to adapt it to your configuration).
  15. CALL GO_ZSHL.BAT
  16. REM Build a temp subdirectory
  17. MD 897436
  18. CD 897436
  19. REM expand the files to this directory
  20. ZIP2EXE -e %1
  21. REM Going to the default directory
  22. COPY *.ZIP %2
  23. CD..
  24. REM Rezip the files to the destname$
  25. REM Deleting the temp directory ----------------
  26. REM Available with MSDOS 6.0, for the previous
  27. REM release use DEL *., DEL *.? .. and so on.
  28. REM --------------------------------------------
  29. DELTREE /Y 897436
  30.  
  31.